package ins.yan.framework.utils.string;

import java.io.FileWriter;
import java.io.IOException;

public class WriteStringToFileUtil {

	public static void write(String str , String fileStr){
		FileWriter writer;
        try {
            writer = new FileWriter(fileStr);
            writer.write(str);
            writer.flush();
            writer.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
	}
}
